<template> 
    <div class="app-container">
        <el-card class="operate-container" shadow="never">
            <i class="el-icon-tickets"></i>
            <span>缓存数据</span>
        </el-card>
        <div class="table-container">
            <span>首页缓存数据</span>
            <br>
            <el-input
                    style="width:400px"
                    type="textarea"
                    autosize
                    placeholder="请输入内容"
                    v-model="homeRedis">
            </el-input>
        </div>
    </div>
</template>
<script>


    import {redisIndex} from "../../../api/redis";

    export default {
        name: "productList",
        data() {
            return {
                homeRedis: ''
            }
        },
        created() {
            this.getList();
        },
        watch: {},
        filters: {},
        methods: {
            getList(){
                redisIndex().then(res => {
                    const result = eval("(" + res.data.result + ")")
                    this.homeRedis = res.data.result;
                })
            },

        }
    }
</script>
<style></style>


